package com.ghost.view.Loading
{
	import com.ghost.interfaces.Iloading;
	
	import flash.display.MovieClip;
	import flash.text.TextField;

	/**
	 * @author ghost
	 * 小的loading
	 */	
	public class Loading_small_mc extends MovieClip implements Iloading
	{
		public var txt:TextField;
		private var cl_mc:*
		public function Loading_small_mc(cl:Class)
		{
			cl_mc = new cl() as MovieClip;
			this.addChild(cl_mc);
			trace(cl_mc)
		}
		/**
		 *控制动画 
		 */		
		public function show_change():void
		{
			cl_mc.txt.text = "sb";
			cl_mc.txt.textColor = 0xffff00;
			trace(cl_mc.txt.text)
		}
		public function show_des():void
		{
			//txt.text = "sb";
		}
	}
}